Optimal. Leaf size=184 \[ \frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x)}{4 a^4}-\frac {x^2 \text {sech}^{-1}(a x)}{4 a^2}-\frac {\text {sech}^{-1}(a x)^2}{2 a^4}-\frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{2 a^4}-\frac {x^2 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{4 a^2}+\frac {1}{4} x^4 \text {sech}^{-1}(a x)^3+\frac {\text {sech}^{-1}(a x) \log \left (1+e^{2 \text {sech}^{-1}(a x)}\right )}{a^4}+\frac {\text {PolyLog}\left (2,-e^{2 \text {sech}^{-1}(a x)}\right )}{2 a^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 184, normalized size of antiderivative = 1.00, number of steps
used = 10, number of rules used = 10, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 1.000, Rules used = {6420, 5526,
4271, 3852, 8, 4269, 3799, 2221, 2317, 2438} \begin {gather*} \frac {\text {Li}_2\left (-e^{2 \text {sech}^{-1}(a x)}\right )}{2 a^4}+\frac {\sqrt {\frac {1-a x}{a x+1}} (a x+1)}{4 a^4}-\frac {\sqrt {\frac {1-a x}{a x+1}} (a x+1) \text {sech}^{-1}(a x)^2}{2 a^4}-\frac {\text {sech}^{-1}(a x)^2}{2 a^4}+\frac {\text {sech}^{-1}(a x) \log \left (e^{2 \text {sech}^{-1}(a x)}+1\right )}{a^4}-\frac {x^2 \sqrt {\frac {1-a x}{a x+1}} (a x+1) \text {sech}^{-1}(a x)^2}{4 a^2}-\frac {x^2 \text {sech}^{-1}(a x)}{4 a^2}+\frac {1}{4} x^4 \text {sech}^{-1}(a x)^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2221
Rule 2317
Rule 2438
Rule 3799
Rule 3852
Rule 4269
Rule 4271
Rule 5526
Rule 6420
Rubi steps
\begin {align*} \int x^3 \text {sech}^{-1}(a x)^3 \, dx &=-\frac {\text {Subst}\left (\int x^3 \text {sech}^4(x) \tanh (x) \, dx,x,\text {sech}^{-1}(a x)\right )}{a^4}\\ &=\frac {1}{4} x^4 \text {sech}^{-1}(a x)^3-\frac {3 \text {Subst}\left (\int x^2 \text {sech}^4(x) \, dx,x,\text {sech}^{-1}(a x)\right )}{4 a^4}\\ &=-\frac {x^2 \text {sech}^{-1}(a x)}{4 a^2}-\frac {x^2 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{4 a^2}+\frac {1}{4} x^4 \text {sech}^{-1}(a x)^3+\frac {\text {Subst}\left (\int \text {sech}^2(x) \, dx,x,\text {sech}^{-1}(a x)\right )}{4 a^4}-\frac {\text {Subst}\left (\int x^2 \text {sech}^2(x) \, dx,x,\text {sech}^{-1}(a x)\right )}{2 a^4}\\ &=-\frac {x^2 \text {sech}^{-1}(a x)}{4 a^2}-\frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{2 a^4}-\frac {x^2 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{4 a^2}+\frac {1}{4} x^4 \text {sech}^{-1}(a x)^3+\frac {i \text {Subst}\left (\int 1 \, dx,x,-i \sqrt {\frac {1-a x}{1+a x}} (1+a x)\right )}{4 a^4}+\frac {\text {Subst}\left (\int x \tanh (x) \, dx,x,\text {sech}^{-1}(a x)\right )}{a^4}\\ &=\frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x)}{4 a^4}-\frac {x^2 \text {sech}^{-1}(a x)}{4 a^2}-\frac {\text {sech}^{-1}(a x)^2}{2 a^4}-\frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{2 a^4}-\frac {x^2 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{4 a^2}+\frac {1}{4} x^4 \text {sech}^{-1}(a x)^3+\frac {2 \text {Subst}\left (\int \frac {e^{2 x} x}{1+e^{2 x}} \, dx,x,\text {sech}^{-1}(a x)\right )}{a^4}\\ &=\frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x)}{4 a^4}-\frac {x^2 \text {sech}^{-1}(a x)}{4 a^2}-\frac {\text {sech}^{-1}(a x)^2}{2 a^4}-\frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{2 a^4}-\frac {x^2 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{4 a^2}+\frac {1}{4} x^4 \text {sech}^{-1}(a x)^3+\frac {\text {sech}^{-1}(a x) \log \left (1+e^{2 \text {sech}^{-1}(a x)}\right )}{a^4}-\frac {\text {Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\text {sech}^{-1}(a x)\right )}{a^4}\\ &=\frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x)}{4 a^4}-\frac {x^2 \text {sech}^{-1}(a x)}{4 a^2}-\frac {\text {sech}^{-1}(a x)^2}{2 a^4}-\frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{2 a^4}-\frac {x^2 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{4 a^2}+\frac {1}{4} x^4 \text {sech}^{-1}(a x)^3+\frac {\text {sech}^{-1}(a x) \log \left (1+e^{2 \text {sech}^{-1}(a x)}\right )}{a^4}-\frac {\text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 \text {sech}^{-1}(a x)}\right )}{2 a^4}\\ &=\frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x)}{4 a^4}-\frac {x^2 \text {sech}^{-1}(a x)}{4 a^2}-\frac {\text {sech}^{-1}(a x)^2}{2 a^4}-\frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{2 a^4}-\frac {x^2 \sqrt {\frac {1-a x}{1+a x}} (1+a x) \text {sech}^{-1}(a x)^2}{4 a^2}+\frac {1}{4} x^4 \text {sech}^{-1}(a x)^3+\frac {\text {sech}^{-1}(a x) \log \left (1+e^{2 \text {sech}^{-1}(a x)}\right )}{a^4}+\frac {\text {Li}_2\left (-e^{2 \text {sech}^{-1}(a x)}\right )}{2 a^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.40, size = 188, normalized size = 1.02 \begin {gather*} \frac {\sqrt {\frac {1-a x}{1+a x}} (1+a x)-\left (-2+2 \sqrt {\frac {1-a x}{1+a x}}+2 a x \sqrt {\frac {1-a x}{1+a x}}+a^2 x^2 \sqrt {\frac {1-a x}{1+a x}}+a^3 x^3 \sqrt {\frac {1-a x}{1+a x}}\right ) \text {sech}^{-1}(a x)^2+a^4 x^4 \text {sech}^{-1}(a x)^3+\text {sech}^{-1}(a x) \left (-a^2 x^2+4 \log \left (1+e^{-2 \text {sech}^{-1}(a x)}\right )\right )-2 \text {PolyLog}\left (2,-e^{-2 \text {sech}^{-1}(a x)}\right )}{4 a^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.40, size = 236, normalized size = 1.28
method | result | size |
derivativedivides | \(\frac {\frac {a^{4} x^{4} \mathrm {arcsech}\left (a x \right )^{3}}{4}-\frac {\mathrm {arcsech}\left (a x \right )^{2} \sqrt {-\frac {a x -1}{a x}}\, \sqrt {\frac {a x +1}{a x}}\, a^{3} x^{3}}{4}-\frac {\mathrm {arcsech}\left (a x \right )^{2} \sqrt {-\frac {a x -1}{a x}}\, \sqrt {\frac {a x +1}{a x}}\, a x}{2}-\frac {\mathrm {arcsech}\left (a x \right ) a^{2} x^{2}}{4}+\frac {\sqrt {-\frac {a x -1}{a x}}\, \sqrt {\frac {a x +1}{a x}}\, a x}{4}-\frac {\mathrm {arcsech}\left (a x \right )^{2}}{2}-\frac {1}{4}+\mathrm {arcsech}\left (a x \right ) \ln \left (1+\left (\frac {1}{a x}+\sqrt {\frac {1}{a x}-1}\, \sqrt {1+\frac {1}{a x}}\right )^{2}\right )+\frac {\polylog \left (2, -\left (\frac {1}{a x}+\sqrt {\frac {1}{a x}-1}\, \sqrt {1+\frac {1}{a x}}\right )^{2}\right )}{2}}{a^{4}}\) | \(236\) |
default | \(\frac {\frac {a^{4} x^{4} \mathrm {arcsech}\left (a x \right )^{3}}{4}-\frac {\mathrm {arcsech}\left (a x \right )^{2} \sqrt {-\frac {a x -1}{a x}}\, \sqrt {\frac {a x +1}{a x}}\, a^{3} x^{3}}{4}-\frac {\mathrm {arcsech}\left (a x \right )^{2} \sqrt {-\frac {a x -1}{a x}}\, \sqrt {\frac {a x +1}{a x}}\, a x}{2}-\frac {\mathrm {arcsech}\left (a x \right ) a^{2} x^{2}}{4}+\frac {\sqrt {-\frac {a x -1}{a x}}\, \sqrt {\frac {a x +1}{a x}}\, a x}{4}-\frac {\mathrm {arcsech}\left (a x \right )^{2}}{2}-\frac {1}{4}+\mathrm {arcsech}\left (a x \right ) \ln \left (1+\left (\frac {1}{a x}+\sqrt {\frac {1}{a x}-1}\, \sqrt {1+\frac {1}{a x}}\right )^{2}\right )+\frac {\polylog \left (2, -\left (\frac {1}{a x}+\sqrt {\frac {1}{a x}-1}\, \sqrt {1+\frac {1}{a x}}\right )^{2}\right )}{2}}{a^{4}}\) | \(236\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{3} \operatorname {asech}^{3}{\left (a x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^3\,{\mathrm {acosh}\left (\frac {1}{a\,x}\right )}^3 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________